home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
demos
/
r-z
/
sbase4pro
/
ideas
/
wplet.sbp
< prev
Wrap
Text File
|
1995-07-10
|
2KB
|
97 lines
SBP
ÿ½ WPLET Serienbrief WordPerfect
ÿ½ select phase
ÿ×c1$(25,1)
ÿÿt
a: f$ÿ"":ÿÂ"Open file","",11,a%,f$:ÿ½ ***** Datei selektieren *****
ÿ¡a%ÿ0ÿpÿ
ÿ:f1$ÿf$
ÿ´ÿf1$
ÿ½ **************** Pfad vom Dateinamen entfernen *********************
a0: f%ÿÿ?(1,f$,"\"):ÿ¡f%ÿpf$ÿÿ-(f$,ÿ/(f$)ÿf%):ÿwa0
b$ÿ"":c$ÿ"":b1$ÿ"? ":lct%ÿ0:blk%ÿ1
ÿ½ *********************************************** Felder In Blöcke *
ÿi%ÿ1ÿq25:c1$(i%,0)ÿ"":c1$(i%,1)ÿ"":ÿ±i%
a1: b$ÿ"Block "ÿÿ(blk%,"99")ÿ" = "
b:
a$ÿ"":
ÿÂb$,"select another or <CANCEL> to end this block",5,a%,a$
ÿ¡a%ÿ0ÿpÿwc
b$ÿb$ÿa$ÿ","
ÿ½ b$ kürzen, damit nicht zu lang für Dialogfeld
ÿ¡ÿ/(b$)ÿ60ÿpb1$ÿb$:b$ÿ"Block "ÿÿ(blk%,"99")ÿ" = ..."ÿÿ-(b1$,35)
lct%ÿlct%ÿ1
c1$(lct%,0)ÿa$ÿ"."ÿf$
ÿwb
c: c1$(lct%,1)ÿÿ(18)
c$ÿc$ÿÿ+(b$,ÿ/(b$)ÿ1)ÿ"/"
ÿÂ"Another block","",21,a%:ÿ¡a%ÿpb$ÿ"":blk%ÿblk%ÿ1:b1$ÿ"? ":ÿwa1
c$ÿc$ÿ"#"
lct%ÿlct%ÿ1
c1$(lct%,1)ÿÿ(5)
ÿ{c$
ÿ½ Datei bearbeiten
d1: ÿ½ Reihenfolge definieren
ÿÂ"Current index is "ÿÿ£ÿ"."ÿf$,"Select Index to define order <CANCEL> for "ÿÿ£,7,a%,i$:ÿ½ ******** define order *******
ÿ¡a%ÿpz$ÿ"INDEX "ÿi$ÿ"."ÿf$:ÿz$
d2: ÿÉÿÐÿ~:ÿ½ **************************************** Filter? *****
ÿÉÿ`
ÿ¡ÿB(f$)ÿpÿÂ"No records found matching this filter","",1,a%:ÿ¡a%ÿpÿwd2 ÿ^ÿwgetout
ct%ÿ0
d3: ÿ½ ** Serienbriefdatei holen und prüfen überschreiben/anhängen ***
ÿÂ"Enter Merge File Name","<CANCEL> to end",17,a%,mf$:
ÿ¡a%ÿ0ÿpÿwgetout
ÿ¡ÿO(ÿJ(mf$))ÿpÿ´mf$ÿÿ¶:ÿwd4
ÿÂ"Mergefile "ÿmf$ÿ" exists","<OK> to Overwrite or Append, <CANCEL> to re-choose",1,a%
ÿ¡a%ÿ0ÿpÿwd3
ÿÂmf$,"<OK> to Overwrite, < CANCEL > TO APPEND ",1,a%
ÿ¡a%ÿpÿ´mf$ÿÿ¶ÿ^ÿ´mf$ÿÿT
d4: ÿ½ **************** Einrichten "? Feldname.file;" ****************************
ÿØÿOÿB(f$)
ÿi%ÿ1ÿqlct%
ÿ¡i%ÿlct%ÿp
zz$ÿ"zz% = LEN(TRIM$("ÿc1$(i%,0)ÿ"))":ÿzz$
ÿ¡zz%ÿpzz$ÿ"? "ÿc1$(i%,0)ÿ";":ÿzz$
ÿ¡zz%ÿc1$(i%,1)ÿÿ(18)ÿpzz%ÿzz%ÿ1:ÿ{ÿ(18);
ÿÿ¡
ÿ½ Falls letzter Block CTRL/R
ÿ¡c1$(i%,1)ÿÿ(5)ÿpzz%ÿzz%ÿ1:ÿ{ÿ(5);
ÿ½ ***** Falls letzter Block CTRL/E ***
ÿ¡zz%ÿpÿ{ÿ(10);:ÿ½ ************************* Auf alle Fälle <NEWLINE> *******
ÿ±i%
ct%ÿct%ÿ1
ÿÉÿ±
ÿÙ
ÿÿ¶
ÿ{:ÿ{&5.0ct%," records exported to "ÿmf$
getout: ÿÉÿÐ
ÿ½ LIST mf$
ÿ